-- GENERATED SPELL FOR [Bael'dun Rifleman] --


function spell0_3377(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3377', 647, 1)
end

function Sorts_3377(pUnit, Event)
local choix_sorts_3377 = math.random(0, 0)
if choix_sorts_3377 == 0 then
pUnit:RegisterEvent('spell0_3377', 1, 1)
end
end

function mob3377_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3377', math.random(1500, 3000), 1)
end

function mob3377_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3377_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3377_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3377, 1, 'mob3377_Action')
RegisterUnitEvent(3377, 2, 'mob3377_Leave')
RegisterUnitEvent(3377, 3, 'mob3377_Kill')
RegisterUnitEvent(3377, 4, 'mob3377_Die')
